# a=[1,2,3,'niubi','牛逼',666]
# print(a[4])
# print(a)
# for i in a:
#     print(i)


# a=[1,2,3,'niubi','牛逼',666]
# print(a.index(2))
# print(a.index(1))
# print(10 in a)


# a=tuple()
# a=(1,2,3,4,5)
# b=(6,7,8)
#
# print(a)


# a={'id':1,
#    'name':'zhangsan',
#    'score':270,
#    }
# b={
#    'id':2,
#    'name':'lisi',
#    'score':280,
# }
# print(a,b)
# a['class']=1
# print(a)



#学生管理系统(存在问题，后续解决)


# print('+--------------------------------------------+')
# print('|           -欢迎使用学生管理系统-               |')
# print('+--------------------------------------------+')
# print('|               -1.查看学生-                   |')
# print('|               -2.添加学生-                   |')
# print('|              -3.修改学生信息-                 |')
# print('|               -4.删除学生-                   |')
# print('|               -0.退出系统-                   |')
# print('+--------------------------------------------+')
#
# xs={
#     'id':['01','02','03'],
#     'name':['张三','李四','王五']
#     }
#
# def show():
#     for id,name in xs.items():
#         print(f'学号{id} 姓名{name}')
# def add():
#     a=input('请输入要添加的学生id:')
#     b=input('请输入要添加的学生姓名:')
#     xs['id'].append(a)
#     xs['name'].append(b)
#     print(xs)
# def gai():
#     a = input('请输入要修改的学生id:')
#     b = input('请输入要修改的学生姓名:')
#     c = input('请输入要修改的位置：')
#     xs['id'][c]=a
#     xs['name'][c]=b
#     print(xs)
# def shan():
#     a = input('请输入要删除的学生id:')
#     xs.pop['id'] = a
#     print(xs)
#
# x=eval(input('请输入你要选择的操作：'))
#
# if x==1:
#     show()
# elif x==2:
#     add()
# elif x==3:
#     gai()
# elif x==4:
#     shan()
# else:
#     print('您的输入有误，请重新输入。')



# print("请按(开机键)5先启动系统")
# use1=eval(input())
# if use1==5:
#
#   print("************************************\n")
#   print("*******       人事管理系统       ******\n")
#   print("************************************\n")
#   print("*******       1.添加员工       *******\n")
#   print("*******       2.删除员工       ******\n")
#   print("*******       3.修改信息       ******\n")
#   print("*******       4.退出系统       ******\n")
#   print("************************************\n")
#   print("************************************\n")
#
#   list={'添加员工','删除员工','修改信息','退出系统'}
#   list1={'张三','李四','王五'}
#
#   while(use1):
#     print("请输入指令：")
#     use = eval(input())
#     if use == 1:
#       print("请先输入要添加的位置的索引，再输入要添加的信息。")
#       list1.insert(len(list1),input())
#       print("添加成功！\n")
#       print(list1)
#     elif use == 2:
#       if input() in list1:
#         list1.remove(input())
#         print("删除成功！\n")
#         print(list1)
#       else:
#           print("未找到。")
#     elif use == 3:
#       print(list1)
#       print("请先输入要需要修改的索引，再输入要修改的信息。")
#       index=int(input())
#       if 0<=index<len(list1):
#         list[index]=input()
#         print("修改成功！\n")
#         print(list1)
#       else:
#         print("输入超出范围。")
#     elif use == 4:
#       use1-=5
#       print("已退出系统。")
#     else:
#       print("输入有误，请重新输入。")
